package com.zhou.bjgl.bjgl.resp.teacher;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BTeacher对象", description="")
public class BTeacherResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "学院名称")
    private String collegeName;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long collegeId;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long classId;

    private String email;

    private String powerName;

    private Long phone;

    private String profileName;

    private String profileUrl;

    private String className;

    @ApiModelProperty(value = "权限：0：最高 1：班主任 2：班委 3：学生")
    @JsonSerialize(using= ToStringSerializer.class)
    private Integer power;



}
